
<?php echo $output;

 ?>
 
<script src="<?php echo base_url(); ?>public/js/autoNumeric.js"></script>
<script>
var rp = {aSep: '.',aDec: ',',vMin: '0.00',vMax: '999999999999.99'};
var qty = {aSep: '',aDec: ',',vMin: '0.00',vMax: '99999.999'};
var percent = {aSep: '',aDec: ',',vMin: '0.00',vMax: '100.00'};

$(document).ready(function() {
	$('.rp').autoNumeric('init',rp);
	$('.qty').autoNumeric('init',qty);
	$('.percent').autoNumeric('init',percent);
	
	$('[name="resv_room_id"]').val('<?= $resv_room_id ?>');
});

</script>
<?php if($show_button) { ?><a class="btn" href="<?php echo base_url('reservation/editRoom/'.$resv_id); ?>" >Back to Edit Room</a><?php } ?>
<br><br>